﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// BasePage 的摘要说明
/// </summary>
public class BasePage : System.Web.UI.Page
{
    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
        if (!this.DesignMode)
        {
            HttpCookie ck = this.Request.Cookies["LoginInfo"];
            if (ck != null && ck["UserName"] != null)
            {

            }
            else
            {
                //this.Response.Redirect(Server.HtmlEncode(Request.ApplicationPath) + "LoginOverTime.aspx");
            }
        }
    }
}